<%= render :partial => "head", :locals => { :user => @user }%>

<%= render :partial => "main_nav", :locals => { :user => @user }%>

<div class="gray-box float-left margin-bottom-10" style="width: 600px;">
  <div class="float-left gray-box" style="width: 420px;">
    <span class="float-left" style="padding:5px;margin-bottom:15px;">
      <a href="people?people_id=<%= @couple.first_user_id.to_s %>"><%= xn_profile_pic_with_id @couple.first_user_id.to_s , {:size => "main"} %></a>
      <p style="text-align: center;">
      <%= xn_name_with_id @couple.first_user_id.to_s %>
      </p>      
    </span> 
    <span class="float-left" style="padding:5px;margin-bottom:15px;">
      <a href="people?people_id=<%= @couple.second_user_id.to_s %>"><%= xn_profile_pic_with_id @couple.second_user_id.to_s , {:size => "main"} %></a>
      <p style="text-align: center;">
      <%= xn_name_with_id @couple.second_user_id.to_s %>
      </p>      
    </span> 
  </div>
  
  <div class="float-left" style="width: 140px; margin:10px 0px 0px 10px;">
    <p class="underline">平均评分: <%= @couple.rating_avg %></p>
    <p class="underline">投票次数: <%= @couple.rating_count %></p>
    <p class="underline"><a href="rater?couple_link=<%= @couple.id.to_s %>">查看投票人</a></p>
    <p class="underline"><a href="/peipeidui?my_rate_couple_id=<%= @couple.id.to_s %>">我来投一票</a></p>
  </div>
</div>

